package com.xiaoke.domain.dtos;

/**
 * @Author xiaoke
 * @Description 不使用Validation注解
 * @Date 2023/7/23 23:58
 */
public class Demo1Dto {
    private String username;
    private String password;
    private Integer age;



    public Demo1Dto(String username, String password,Integer age) {
        this.username = username;
        this.password = password;
        this.age = age;
    }

    public Demo1Dto() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Demo1Dto{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", age=" + age +
                '}';
    }
}
